package br.rc.unesp.tcc.model.bean;

import java.net.URL;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "simpleInvoice")
public class InvoiceDto {
	private int invoiceId;
	private String billNumber;
	private Date invoiceDate;
	private Double invoiceAmount;
	private URL downloadLink;

	public InvoiceDto() {
	}

	public InvoiceDto(int invoiceId, String billNumber, Date invoiceDate,
			double invoiceAmount) {
		this.invoiceId = invoiceId;
		this.billNumber = billNumber;
		this.invoiceDate = invoiceDate;
		this.invoiceAmount = invoiceAmount;
	}

	public int getInvoiceId() {
		return invoiceId;
	}

	public void setInvoiceId(int invoiceId) {
		this.invoiceId = invoiceId;
	}

	public String getBillNumber() {
		return billNumber;
	}

	public void setBillNumber(String billNumber) {
		this.billNumber = billNumber;
	}

	public Date getInvoiceDate() {
		return invoiceDate;
	}

	public void setInvoiceDate(Date invoiceDate) {
		this.invoiceDate = invoiceDate;
	}

	public Double getInvoiceAmount() {
		return invoiceAmount;
	}

	public void setInvoiceAmount(Double invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}

	public URL getDownloadLink() {
		return downloadLink;
	}

	public void setDownloadLink(URL downloadLink) {
		this.downloadLink = downloadLink;
	}
}